import request from '@/utils/axiosRequest.js'

// 送水日志

/*
  查询
 */
export function searchTaskLogs(startTime, area, dorm, room, workerName,
                               pageNo, pageSize) {
  let url = "/system/taskLog/search?startTime=";
  url += (startTime ? startTime : "");
  url += "&area=" + (area ? area : "");
  url += "&dorm=" + (dorm ? dorm : "");
  url += "&room=" + (room ? room : "");
  url += "&workerName=" + (workerName ? workerName : "");
  url += "&pageNo=" + (pageNo ? pageNo : "");
  url += "&pageSize=" + (pageSize ? pageSize : "");
  return request({
    url: url,
    method: "get"
  })
}

